package org.example.service;

import org.example.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 张在成
 */
@FeignClient(name = "order-service")
public interface OrderService {


    /**
     *  根据订单id查询订单信息
     * @param orderId
     * @return
     */
    @RequestMapping("/order/{orderId}")
    Result selectOrderInfoById(@PathVariable("orderId")Integer orderId);



}
